It is not a locution, and is understood according to having and kindness.
have the kindness-expression of courtesy to ask for something